
<table class="table table-striped table-bordered table-hover no-margin-bottom no-border-top">
    <thead>
        <tr>
            <th>编号</th>
            <th>姓名</th>
            <th>注册时间</th>
            <th>登录IP</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
        <?php foreach ($result as $row): ?>
            <tr>
                <td><?php echo $row['id']; ?> </td>
                <td><?php echo $row['name']; ?> </td>
                <td><?php echo date("Y-m-d H:i:s", $row['add_time']); ?></td>
                <td><?php echo $row['ip'] ?></td>
                <td><button class="btn-test">呵呵</button></td>
            </tr>
        <?php endforeach; ?>
    </tbody>
</table>
<script type="text/javascript">
    $(".btn-test").click(function () {
        our.modalAjaxList({
            title: "列表demo3",
            width: "60%",
            ajax: {
                url: "/admin/demo/ajaxlist/",
                type: "GET",
            }
        });
    });

</script>


<div class="modal-footer no-margin-top">
    <button data-dismiss="modal" class="btn btn-sm btn-danger pull-left">
        <i class="ace-icon fa fa-times"></i>
        Close
    </button>

    <ul class="pagination pull-right no-margin">
        <li class="prev disabled">
            <a href="#">
                <i class="ace-icon fa fa-angle-double-left"></i>
            </a>
        </li>

        <li class="active">
            <a href="#">1</a>
        </li>

        <li>
            <a href="#">2</a>
        </li>

        <li>
            <a href="#">3</a>
        </li>

        <li class="next">
            <a href="#">
                <i class="ace-icon fa fa-angle-double-right"></i>
            </a>
        </li>
    </ul>
</div>